<template>
  <div>
    <el-container>
      <el-header>
         <hand-meny-to-staff></hand-meny-to-staff>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <auto-menu></auto-menu>
        </el-aside>
      
        <el-main><router-view></router-view></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import AutoMenu from "./AutoMenu.vue";
import HandMenu from './HandMenu.vue';
import HandMenyToStaff from './HandMenyToStaff.vue';
export default {
  components: { AutoMenu, HandMenu, HandMenyToStaff },
  name: "centre",
};
</script>

<style>
.el-header,
.el-footer {
  background-color: #ffa07a;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #fab194;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-main {
  background-color: #f9c8b4;
  color: #333;
  text-align: center;
  line-height: 60px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>
